/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

import java.util.Date;

/**
 *
 * @author b2
 */
public class ChuyenBayPOJO {

    private String MaChuyenBay;
    private String MaTuyenBay;
    private String NgayGio;
    private int ThoiGianBay;
    private int SLG1;
    private int SLG2;

    public ChuyenBayPOJO() {
    }

    public ChuyenBayPOJO(String MaChuyenBay, String MaTuyenBay, String NgayGio, int ThoiGianBay, int SLG1, int SLG2) {
        this.MaChuyenBay = MaChuyenBay;
        this.MaTuyenBay = MaTuyenBay;
        this.NgayGio = NgayGio;
        this.ThoiGianBay = ThoiGianBay;
        this.SLG1 = SLG1;
        this.SLG2 = SLG2;
    }

    public ChuyenBayPOJO(ChuyenBayPOJO cb) {
        this.MaChuyenBay = cb.MaChuyenBay;
        this.MaTuyenBay = cb.MaTuyenBay;
        this.NgayGio = cb.NgayGio;
        this.ThoiGianBay = cb.ThoiGianBay;
        this.SLG1 = cb.SLG1;
        this.SLG2 = cb.SLG2;
    }
//các phương thức get

    public String getMaChuyenBay() {
        return MaChuyenBay;
    }

    public String getMaTuyenBay() {
        return MaTuyenBay;
    }

    public String getNgayGio() {
        return NgayGio;
    }

    public int getSLG1() {
        return SLG1;
    }

    public int getSLG2() {
        return SLG2;
    }

    public int getThoiGianBay() {
        return ThoiGianBay;
    }
//các phương thức set

    public void setMaChuyenBay(String MaChuyenBay) {
        this.MaChuyenBay = MaChuyenBay;
    }

    public void setMaTuyenBay(String MaTuyenBay) {
        this.MaTuyenBay = MaTuyenBay;
    }

    public void setNgayGio(String NgayGio) {
        this.NgayGio = NgayGio;
    }

    public void setSLG1(int SLG1) {
        this.SLG1 = SLG1;
    }

    public void setSLG2(int SLG2) {
        this.SLG2 = SLG2;
    }

    public void setThoiGianBay(int ThoiGianBay) {
        this.ThoiGianBay = ThoiGianBay;
    }

    @Override
    public String toString() {
        return this.MaChuyenBay;
    }
}
